package com.car.loan.project.cm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;


/**
 * 上牌地址信息对象 cm_car_ licensing_addr
 *
 * @author ruoyi
 * @date 2019-10-19
 */
@TableName("cm_car_licensing_addr")
@Data
public class CmCarLicensingAddr {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long parentId;

    /**
     * 简称
     */
    @ApiModelProperty("简称")
    private String abbr;

    /**
     * 地区名
     */
    @ApiModelProperty("地区名")
    private String name;



    @ApiModelProperty("0=有下级 1 无下级")
    private Integer type;

    @ApiModelProperty(" 0=正常 5=停用 ")
    private Integer status;

    private Date createTime;

    @TableField(exist = false)
    @ApiModelProperty("子节点")
    private List<CmCarLicensingAddr> children;

}
